
<div class="layuimini-container">
  <form id="app-form" class="layui-form layuimini-form">
    
    <div class="layui-form-item">
        <label class="layui-form-label">擅长项目</label>
            <div class="layui-input-block">
                {foreach service_goods as $key=>$val}
                <input type="checkbox" name="service_goods_id[{$key}]" lay-filter="levelM" class="layui-input" value="{$key}" title="{$val}" {if in_array($key,$row.service_goods_id)}checked="" {/if}>
                {/foreach}
            </div>

    </div>
     
      <div class="hr-line"></div>
      <div class="layui-form-item text-center">
          <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
          <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
      </div>
  </form>
</div>
<script type="text/javascript">
  layui.use(['form','upload'], function(){
      var form = layui.form;
      var upload = layui.upload;
      $ = layui.$;
      layer = layui.layer;
     

  });
</script>